package cn.beecloud;

/**
 * BeeCoud JAVA　SDK枚举类
 * 
 * @author Ray
 * @Date: 15/7/11
 */
public class BCEumeration {

    public enum RESULT_TYPE {
        OK,
        APP_INVALID,
        PAY_FACTOR_NOT_SET,
        CHANNEL_INVALID,
        MISS_PARAM,
        PARAM_INVALID,
        CERT_FILE_ERROR,
        CHANNEL_ERROR,
        NO_SUCH_BILL,
        DUPLICATED_PREFUND_RECORD,
        BILL_UNSUCCESS,
        REFUND_EXCEED_TIME,
        ALREADY_REFUNDING,
        REFUND_AMOUNT_TOO_LARGE,
        NO_SUCH_REFUND,
        RECORD_DUPLICATE,
        RUNTIME_ERORR,
        NOT_CORRECT_RESPONSE,
        OTHER_ERROR
    }

    public enum PAY_CHANNEL {
        WX,
        WX_APP,//微信手机原生APP支付
        WX_NATIVE,// 微信公众号二维码支付
        WX_JSAPI,//微信公众号支付
        WX_WAP,
        WX_SCAN,
        ALI,
        ALI_APP,//支付宝手机原生APP支付
        ALI_WEB,//支付宝PC网页支付
        ALI_WAP,//支付宝移动网页支付
        ALI_QRCODE,//支付宝PC网页支付
        ALI_SCAN,
        ALI_OFFLINE_QRCODE,
        UN,
        UN_APP,//银联手机原生APP支付
        UN_WEB,//银联PC网页支付
        UN_WAP,//银联移动网页支付
        YEE,
        YEE_WEB,
        YEE_WAP,
        YEE_NOBANKCARD,
        JD,
        JD_WEB,
        JD_WAP,
        KUAIQIAN,
        KUAIQIAN_WAP,
        KUAIQIAN_WEB,
        BD,
        BD_WEB,
        BD_WAP,
        BD_APP,
        PAYPAL,
        PAYPAL_SANDBOX,
        PAYPAL_LIVE,
        PAYPAL_PAYPAL,
        PAYPAL_CREDITCARD,
        PAYPAL_SAVED_CREDITCARD,
        BC,
        BC_GATEWAY,//第三方网关支付
        BC_EXPRESS,//第三方快捷支付
        BC_APP,
        BC_NATIVE,//BC版微信二维码支付
        BC_ALI_WAP,//BC版微信手机WAP支付
        BC_ALI_WEB,
        BC_WX_APP,
        BC_WX_WAP,
        BC_ALI_QRCODE,// BC版支付宝线下扫码支付
        BC_WX_JSAPI,//BC版微信公众号支付
        BC_WX_SCAN,
        BC_ALI_SCAN,
        CP,
        CP_WEB,
        BC_ALI_JSAPI,
        BC_CARD_CHARGE
    }

    public enum TRANSFER_CHANNEL {
        ALI_TRANSFER,
        WX_REDPACK,
        WX_TRANSFER
    }

    public enum QR_PAY_MODE {
        MODE_BRIEF_FRONT,
        MODE_FRONT,
        MODE_MINI_FRONT
    }

    public enum PAYPAL_CURRENCY {
        AUD,
        BRL,
        CAD,
        CZK,
        DKK,
        EUR,
        HKD,
        HUF,
        ILS,
        JPY,
        MYR,
        MXN,
        TWD,
        NZD,
        NOK,
        PHP,
        PLN,
        GBP,
        SGD,
        SEK,
        CHF,
        THB,
        TRY,
        USD
    }

    public enum CARD_TYPE {
        visa,
        mastercard,
        discover,
        amex
    }

    public enum BC_TRANSFER_BANK_TYPE {
        P_DE, //对私借记卡
        P_CR, //对私信用卡
        C //对公账户
    }

    public enum BC_PLAN_INTERVAL {
        day,
        week,
        month,
        year
    }

    public enum TRANSFER_STATUS {
        SUCCESS,
        FAIL,
        PROCESSING
    }
}
